import org.eclipse.swt.*;
import org.eclipse.swt.layout.*;
import org.eclipse.swt.widgets.*;
public class HelloWorld
{
  public static void main(String[] args)
  {
    Display display = new Display();
    Shell shell = new Shell(display);
    shell.setLayout(new RowLayout());
    //Text text = new Text(shell, SWT.BORDER);
    shell.open();
    while (!shell.isDisposed())
    {
     if (!display.readAndDispatch())
     {
      display.sleep();
     }
    }
    System.out.println("Platform: " + SWT.getPlatform());
    System.out.println("Version: " + SWT.getVersion());
    display.dispose();
    }
  }

